package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="系列团订单留位Req", description="系列团订单留位Req")
public class SeriesOrderKeepReq implements Serializable {

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "房间数不能为空")
    @ApiModelProperty(value = "房间数",required = true)
    private Integer roomNum;

    @NotNull(message = "下单类型不能为空")
    @ApiModelProperty(value = "下单类型（0 直客下单，2 代理商下单）",required = true)
    private Integer orderType;

    @NotNull(message = "游客集合不能为空")
    @ApiModelProperty(value = "游客集合",required = true)
    List<SeriesOrderTouristReq> touristList;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "所属代理商ID")
    private Long agentId;

    @ApiModelProperty(value = "代理商名称")
    private String agentName;

}
